package com.xyx.ssm.service;

import java.util.List;
import java.util.Map;

import com.xyx.ssm.po.Purchase;
import com.xyx.ssm.po.Purchasesub;
import com.xyx.ssm.po.WineProduct;
import com.xyx.ssm.util.Page;

public interface PurchaseService {

	Page<Map<String, Object>> findPage(Page<Map<String, Object>> page);

	public int insertpruchase(Purchase purchase);

	public List<Map<String, Object>> selectWineproduct(Purchase purchase);

	public List<Purchase> selectdetail(Purchase purchase);
	
	public List<Purchase> selectdetailwine(Purchase purchase);
	
	public int insertwinepurchasesub(Purchasesub purchasesub);
	
	public int updatepurchase(Purchase purchase);
}
